package com.woniu.service;

import com.woniu.dto.HisHospitalRecordsDto;
import com.woniu.dto.PageDTO;
import com.woniu.model.HisHospitalRecords;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.param.HisHospitalRecordsAddParam;
import com.woniu.param.HisHospitalRecordsParam;
import com.woniu.util.Result;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-11-11
 */
@Service
public interface IHisHospitalRecordsService extends IService<HisHospitalRecords> {
    public Result<PageDTO<HisHospitalRecordsDto>> getAllHisHospitalRecords();
    public Result<PageDTO<HisHospitalRecordsDto>> getHisHospitalRecordsBy(HisHospitalRecordsParam hisHospitalRecordsParam);
    public Result<HisHospitalRecordsDto> updateHisHospitalRecords(HisHospitalRecordsParam hisHospitalRecordsParam);
    public Result<HisHospitalRecordsDto> addHisHospitalRecords(HisHospitalRecordsAddParam hisHospitalRecordsAddParam);
}
